<?php
namespace app\controller;

use app\BaseController;
use app\Request;
use app\request\Index\IndexRequest;

class Index extends BaseController
{
    public function index(IndexRequest $request)
    {
        dd($request);
    }

    public function hello($name = 'ThinkPHP6')
    {
        return 'hello,' . $name;
    }
}
